package com.pet.web.controller.wechat.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

@ApiModel
public class WxApplyBody {

    /**
     * 姓名
     */
    @ApiModelProperty(required = true,value = "用户名称")
    private String userName;

    /**
     * 手机
     */
    @ApiModelProperty(required = true, value = "手机号")
    private String mobile;

    @ApiModelProperty(required = true, value = "openid")
    private String openid;

    @NotBlank(message = "openid不能为空")
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @NotBlank(message = "姓名不能为空")
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @NotBlank(message = "手机号码不能为空")
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
